package rad.framework.mda.properties.views;

import rad.framework.mda.properties.AbstractStringPropertySection;

import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.uml2.uml.UMLPackage;

/**
 * @author boudyacho
 *
 */
public class NamedElementSection extends AbstractStringPropertySection {

	/* (non-Javadoc)
	 * @see rad.framework.mda.properties.AbstractTabbedPropertySection#getFeature()
	 */
	@Override
	protected EStructuralFeature getFeature() {
		return UMLPackage.eINSTANCE.getNamedElement_Name();
	}

	/* (non-Javadoc)
	 * @see rad.framework.mda.properties.AbstractTabbedPropertySection#getLabelText()
	 */
	@Override
	protected String getLabelText() {
		return "Name:";
	}
}
